/*
 **********************************************************
 *
 * Program		:	array.h
 *
 * written by	:	BAYRAMOV Matin
 *
 * description	:	a library with some functions to use arrays
 * 					or array of arrays (matrix).
 *
 * date			:	April 23, 2013
 *
 ***********************************************************
 */

#include <stdio.h>
#include <stdlib.h>

#include "macros.h"

#ifndef ARRAY_H_
#define ARRAY_H_

// Get index of minimum value in the array
int minIndexArray(double *, int);

// Print a double matrix, given height and length
int printMatrix(double **, int, int);

// Free a double matrix
int freeMatrix(double ***, int);

// Create an int array with the given size
int createIntArray(int **, int);

// Clone an int array with values in it
int cloneIntArray(int*, int**, int);

// Print the content of an int array
int printIntArray(int *, int);

#endif /* ARRAY_H_ */
